﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using System.Threading;

namespace HeadLinx.AD.Explorer
{
    /// <summary>
    /// Interaction logic for AsyncTaskDialog.xaml
    /// </summary>
    public partial class AsyncTaskDialog : Window
    {
        private ThreadStart _taskFunc;

        public AsyncTaskDialog(ThreadStart taskFunc)
        {
            InitializeComponent();
            _taskFunc = taskFunc;
        }

        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            Thread t = new Thread(_taskFunc);

        }
    }
}
